package com.hylanda.va.entity;

import java.util.Date;

//import javax.persistence.Entity;
//import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
//import javax.persistence.JoinColumn;
//import javax.persistence.ManyToOne;
//import javax.persistence.Table;

import com.hylanda.va.entity.dict.ClockingInStatus;
import com.hylanda.va.entity.dict.LeaveType;

/** 
 * @author zhangy
 * @E-mail:blackoon88@gmail.com 
 * @qq:846579287
 * @version created at：2018年5月21日 下午2:23:50 
 * note
 */
//@Entity
//@Table(name = "sys_clocking_in")
public class ClockingIn {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int id;
//	@ManyToOne
//	@JoinColumn(name = "employee_id")
	private Employee employee;
	private Date clocking_start_time;
	private Date clocking_end_time;
	@Enumerated
	private ClockingInStatus clocking_status;
	private Date create_time;
	private String clocking_info;
	@Enumerated
	private LeaveType qingjia_type;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public Date getClocking_start_time() {
		return clocking_start_time;
	}
	public void setClocking_start_time(Date clocking_start_time) {
		this.clocking_start_time = clocking_start_time;
	}
	public Date getClocking_end_time() {
		return clocking_end_time;
	}
	public void setClocking_end_time(Date clocking_end_time) {
		this.clocking_end_time = clocking_end_time;
	}
	public ClockingInStatus getClocking_status() {
		return clocking_status;
	}
	public void setClocking_status(ClockingInStatus clocking_status) {
		this.clocking_status = clocking_status;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getClocking_info() {
		return clocking_info;
	}
	public void setClocking_info(String clocking_info) {
		this.clocking_info = clocking_info;
	}
	public LeaveType getQingjia_type() {
		return qingjia_type;
	}
	public void setQingjia_type(LeaveType qingjia_type) {
		this.qingjia_type = qingjia_type;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	
}
